package com.tg.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tg.pojo.Message;
import com.tg.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ChatMapper extends BaseMapper<Message> {

    List<Message> getMessageList(String username);
}
